﻿using System.Timers;

namespace Wise.TimeWarrior.OSFunctionalitiesProxy
{

    /// <summary>
    /// Interface descirbes timer
    /// </summary>
    public interface ISystemTimer
    {
        /// <summary>
        /// Event handler fired for every elapsed interval time
        /// </summary>
        event ElapsedEventHandler ElapsedTime;
        /// <summary>
        /// Methods starts timer
        /// </summary>
        void Start();
        /// <summary>
        /// MEthod Stop timer
        /// </summary>
        void Stop();
        /// <summary>
        /// Time Interval beetwen 
        /// </summary>
        double Interval { set; get; }
    }
}
